package com.region.integral.business_user.consume.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.region.integral.business_user.consume.IConsumeIntegral;
import com.region.integral.business_user.consume.dao.delegate.RegulationObjectDelegate;
@Component("business_user_consumeIntegral")
public class ConsumeIntegralImpl implements IConsumeIntegral {
	@Resource(name="business_regulationObjectDelegate")
	private RegulationObjectDelegate regulationObjectDelegate;
	@Override
	public boolean byBreach(int businessUserid) {
		return regulationObjectDelegate.breach(businessUserid);
	}

	@Override
	public boolean byCheckNO(int businessUserid, int noNum) {
		return regulationObjectDelegate.checkNo(businessUserid, noNum);
	}

	@Override
	public boolean byComplaint(int businessUserid) {
		return regulationObjectDelegate.complaint(businessUserid);
	}

	@Override
	public boolean byGoodsNotReal(int businessUserid) {
		return regulationObjectDelegate.goodsNotReal(businessUserid);
	}

}
